package com.sky.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author: Sabrina
 * @Date:2025/06/16/17:08
 * @Description:
 */
/*
商家地址
 */
@Data
@Component
@ConfigurationProperties(prefix = "sky.merchant.address") //默认绑定到实例字段,不能绑定到静态字段
public class MerchantAddress {
    private String provinceName;
    private String cityName;
    private String districtName;
    private String detail;
}
